package link.anyauto.dtbinding.widgets;

/**
 * Created by LYQ on 2016/7/26.
 */
public class WidgetsHandlers {

    public void radioChanged(boolean checked, int pos) {
        vm.setRadio(checked, pos);
    }

    public void checkChanged(boolean checked, int pos) {
        vm.setCheck(checked, pos);
    }

    public void progressChanged(int progress) {
        vm.setProgress(progress);
    }

    public void textChanged(CharSequence text) {
        vm.setText(text.toString());
    }

    WidgetsVM vm;
}
